﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace cla
{
    class Program
    {
        static void Main(string[] args)
        {//编号（Id）、姓名（Name）、性别（Sex）、身份证号（Cardid）、联系方式（Tel）、专业（Major）、年级（Grade）
            Student stu = new Student(1,"盼盼","女",2021,110,"软件的鬼","20级的鬼");
            stu.Text();

            Console.WriteLine();
            Teacher tea = new Teacher(1,"食品","女",2021,120,"大魔王","20级的大魔王");
            tea.Text();
            Console.ReadKey();
        }
    }
}
